/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.purchase.entity;

import com.jeeplus.modules.member.entity.Member;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;
import lombok.Data;

/**
 * 求购Entity
 * @author zhych
 * @version 2021-12-09
 */
@Data
public class Purchase extends DataEntity<Purchase> {
	
	private static final long serialVersionUID = 1L;
	@ExcelField(title="用户", fieldType=Member.class, value="u.nickname", align=2, sort=1)
	private Member u;		// 用户
	@ExcelField(title="称呼", align=2, sort=2)
	private String callName;		// 称呼
	@ExcelField(title="品牌", align=2, sort=3)
	private String brand;		// 品牌
	@ExcelField(title="车型", align=2, sort=4)
	private String motorcycleType;		// 车型
	@ExcelField(title="车款", align=2, sort=5)
	private String carStyle;		// 车款
	@ExcelField(title="颜色", align=2, sort=6)
	private String colour;		// 颜色
	@ExcelField(title="手动/自动", dictType="shift_type", align=2, sort=7)
	private String shiftType;		// 手动/自动
	@ExcelField(title="上牌日期", align=2, sort=8)
	private String registeredDate;		// 上牌日期
	@ExcelField(title="里程数", align=2, sort=9)
	private String mileage;		// 里程数
	@ExcelField(title="车龄", align=2, sort=10)
	private String age;		// 车龄
	@ExcelField(title="购车预算", align=2, sort=11)
	private String carBudget;		// 购车预算
	@ExcelField(title="联系电话", align=2, sort=12)
	private String mobile;		// 联系电话
	@ExcelField(title="发布状态", dictType="push_state", align=2, sort=13)
	private String pushState;		// 发布状态
	@ExcelField(title="用户类型", dictType="user_type", align=2, sort=14)
	private String userType;		// 用户类型
	private String beginRegisteredDate;		// 开始 上牌日期
	private String endRegisteredDate;		// 结束 上牌日期
	private String beginMileage;		// 开始 里程数
	private String endMileage;		// 结束 里程数
	private String beginAge;		// 开始 车龄
	private String endAge;		// 结束 车龄
	private String beginCarBudget;		// 开始 购车预算
	private String endCarBudget;		// 结束 购车预算
	private String endTime;    // 求购截止时间
	private String interiorColor;	// 内饰颜色
	
	public Purchase() {
		super();
	}
	
	public Purchase(String id){
		super(id);
	}
}